<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>公告栏</h3>
            <form class="form-horizontal" th:object="${footLySearchForm}" method="post" th:action="@{/hy/footLy/search}"
                  name="form"
                  th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span2">
                        <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                    </div>
                    <div class="span10">
                        <table style="width:100%" border="0">
                            <tbody>
                            <tr>
                                <th style="width: 120px;">发送时间:</th>
                                <td style="width: auto;">
                                    <input type="text" name="sendTime" id="sendTime" class="input_fix2"
                                           placeholder="发送时间"/>
                                    <img onclick="WdatePicker({el:'sendTime',dateFmt:'yyyy-MM-dd'})"
                                         style="width:16px;height:22px" src="" alt=""
                                         th:src="@{/js/My97DatePicker/skin/datePicker.gif}">
                                </td>
                                <th style="width: 120px;">留言信息:</th>
                                <td style="width: auto;"><input type="text" name="lyid" class="input_fix"
                                                                placeholder="留言信息"/></td>
                                <td style="width:120px;">
                                    <button class="btn btn-info" style="float: right;" type="button"
                                            onclick="pagechange(1);"><em class="icon-search"></em>查询
                                    </button>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="row-fluid">
                    <!--收件箱 HERE-->
                    <div class="widget-box transparent span12">
                        <div class="table_border">
                            <div class="head_title">
                                <h3 class="lighter smaller"><em class="icon-envelope-alt white"></em>公告栏</h3>
                            </div>
                            <div class="widget-body">
                                <div id="comment-tab1" class="tab-pane"
                                     onresize="$('#comment-tab1').css('height', messageHeight);">
                                    <div class="comments">
                                        <div class="itemdiv commentdiv" th:each="t: ${footLyList}">
                                            <div class="user">
                                                <img alt="" th:src="@{t.logo ? '/images/logo2.png' : '/' + t.logo}"
                                                     src=""/>
                                            </div>
                                            <div class="body">
                                                <div class="name">
                                                    <span>管理员</span>
                                                </div>
                                                <div class="time">
                                                    <em class="icon-time"></em>
                                                    <span class="green" th:text="${t.sendTimeStr}">20180404&nbsp;</span>
                                                </div>
                                                <div class="text">
                                                    <em class="icon-quote-left"></em>
                                                    <span th:text="${t.content}">123</span>
                                                    <em class="icon-quote-right"></em>
                                                </div>
                                            </div>
                                            <div class="tools">
                                                <div class="inline position-relative">
                                                    <button class="btn btn-minier bigger btn-yellow dropdown-toggle"
                                                            data-toggle="dropdown"><em
                                                            class="icon-angle-down icon-only bigger-120"></em></button>
                                                    <ul class="dropdown-menu dropdown-icon-only dropdown-yellow pull-right dropdown-caret dropdown-close">
                                                        <li><a th:href="@{/hy/footLy/delete(id=${t.id})}"
                                                               class="tooltip-error" data-rel="tooltip" title="删除"
                                                               data-placement="left"> <span class="red"><em
                                                                class="icon-trash"></em></span></a></li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid" th:include="common/page :: page"></div>
            </form>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div><!--/#main-content-->
</div><!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>
